/*
package com.test.springboot;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class ErrorController {
	@Autowired
	HttpServletRequest request;
	
	@RequestMapping("/error/404")
	public String error404() {
		request.setAttribute("msg", "您访问的页面不存在--服务器");
		return "errors/404";
	}
	
	
	@RequestMapping("/error/500")
	public String error500() {
		return "errors/500";
	}
	
	
}
*/
